
#CFLAGS = -std=c++98

all: demo h264pub

demo: example.c srs_librtmp.cpp
	$(CC) $(CFLAGS) $^  -o $@ -lstdc++

h264pub: srs_h264_raw_publish.c srs_librtmp.cpp
	$(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS) -lstdc++

clean:
	rm -f demo h264pub
